import Vue from 'vue'
import App from './App'





import cuCustom from './common/components/cu-custom.vue';
Vue.component('cu-custom',cuCustom);

import cuSearch from './common/components/cu-search.vue';
Vue.component('cu-search',cuSearch);

// 首页模板
import my from './pages/my/my.vue';
Vue.component('my',my);

// 商城模板
import shop from './pages/shop/shop.vue';
Vue.component('shop',shop);

// 活动模板
import activity from './pages/activity/activity.vue';
Vue.component('activity',activity);

// 收益模板
import earnings from './pages/earnings/earnings.vue';
Vue.component('earnings',earnings);




// 图片域名前缀
 Vue.prototype.$imgurl = 'http://lanwenquan.gitee.io/zp_shop_imgs/';
 Vue.prototype.imgurl = 'http://img4.winmobi.cn';

// api请求域名前缀
Vue.prototype.$baseRestUrl = 'http://47.107.102.50:6014/';

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
